###
 # @Author: xushaocong
 # @Date: 2022-05-22 16:53:01
 # @LastEditTime: 2022-05-27 11:26:43
 # @LastEditors: xushaocong
 # @Description: 
 # @FilePath: /deep_motion_mag/my_script/test.sh
 # email: xushaocong@stu.xmu.edu.cn
### 


#* Two-frame based processing (Static, Dynamic mode)
# sh run_on_test_videos.sh <experiment_name> <video_name> <amplification_factor> <run_dynamic_mode>
#* Temporal filtering based processing (frequency band pass filter)
# sh run_temporal_on_test_videos.sh <experiment_name> <video_name> <amplification_factor> <low_cutoff> <high_cutoff> <sampling_rate> <n_filter_tap> <filter_type>



#! Static mode, using first frame as reference.
# sh run_on_test_videos.sh o3f_hmhm2_bg_qnoise_mix4_nl_n_t_ds3 baby 10
#! Dynamic mode, magnify difference between consecutive frames.
# sh run_on_test_videos.sh o3f_hmhm2_bg_qnoise_mix4_nl_n_t_ds3 baby 10 yes
#! Using temporal filter (same as Wadhawa et al.)
# sh run_temporal_on_test_videos.sh o3f_hmhm2_bg_qnoise_mix4_nl_n_t_ds3 baby 20 0.04 0.4 30 2 differenceOfIIR


# sh run_on_test_videos.sh o3f_hmhm2_bg_qnoise_mix4_nl_n_t_ds3 data1 10 yes

# sh run_on_test_videos.sh o3f_hmhm2_bg_qnoise_mix4_nl_n_t_ds3 data2 10

# sh run_on_test_videos.sh \
#o3f_hmhm2_bg_qnoise_mix4_nl_n_t_ds3 \
#data3 20 yes \
# 2>&1 | tee -a logs/test.log

sh run_temporal_on_test_videos.sh \
o3f_hmhm2_bg_qnoise_mix4_nl_n_t_ds3 \
data3 20 0.04 0.4 30 2 \
differenceOfIIR \
2>&1 | tee -a logs/test.log



